package com.tinyseed.emcp.api.basicdata.service;

import com.tinyseed.emcp.api.basicdata.model.*;
import com.tinyseed.hmxx.common.base.PageData;

import java.util.List;

/***
 * @ClassName: DeviceGroupService
 * @Description: TODO
 * @Auther: Harlan.Xiong
 * @Date: 2019-11-27 21:47
 * @version : V1.0
 */
public interface DeviceGroupService {

    /**
     * 查询机构树信息
     *
     * @return
     */
    public List<OrganizeNodeOutputDTO> findOrganizeTree();

    /**
     * 分页
     *
     * @param
     * @param size
     * @param current
     * @return
     */
    PageData page(OrganizeNodeInputDTO organizeNodeInputDTO, int size, int current);

    List<VproducePolluteOutputDTO> findIndustryByPage(int current, int size);

    /**
     * 查询下拉框检测点数据
     *
     * @param shopId
     * @return
     */
    MonitorRelationOutputDTO getEditSelectData(Long shopId);

    /**
     * 保存
     *
     * @param monitorRelationInputDTO
     */
    void save(MonitorRelationInputDTO monitorRelationInputDTO);

    /**
     * 删除
     *
     * @param produceId
     * @return
     */
    Integer delete(Long produceId, Long polluteId);
}
